package com.nsqt.biz.service.impl;

import com.nsqt.biz.dao.SoftwareDao;
import com.nsqt.biz.domain.SoftwareDO;
import com.nsqt.biz.service.SoftwareService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SoftwareServiceImpl implements SoftwareService {
    @Autowired
    private SoftwareDao softwareDao;

    @Override
    public SoftwareDO get(Integer id) {
        return softwareDao.get(id);
    }

    @Override
    public SoftwareDO getBySn(String sn) {
        return softwareDao.getBySn(sn);
    }

    @Override
    public List<SoftwareDO> list(Map<String, Object> map) {
        return softwareDao.list(map);
    }

    @Override
    public List<SoftwareDO> listExcel(Map<String, Object> map) {
        return softwareDao.listExcel(map);
    }

    @Override
    public List<SoftwareDO> exportApproval(Map<String, Object> map) {
        return softwareDao.exportApproval(map);
    }

    @Override
    public List<SoftwareDO> listUnsubmit(Map<String, Object> map) {
        return softwareDao.listUnsubmit(map);
    }

    @Override
    public List<SoftwareDO> listApproval(Map<String, Object> map) {
        return softwareDao.listApproval(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return softwareDao.count(map);
    }

    @Override
    public int countUnsubmit(Map<String, Object> map) {
        return softwareDao.countUnsubmit(map);
    }

    @Override
    public int countPresubmit(Map<String, Object> map) {
        return softwareDao.countUnsubmit(map);
    }

    @Override
    public int countApproval(Map<String, Object> map) {
        return softwareDao.countApproval(map);
    }

    @Override
    public int save(SoftwareDO software) {
        return softwareDao.save(software);
    }

    @Override
    public int update(SoftwareDO software) {
        return softwareDao.update(software);
    }

    @Override
    public int remove(Integer id) {
        return softwareDao.remove(id);
    }

    @Override
    public int approval(Integer id) {
        return softwareDao.approval(id);
    }

    @Override
    public int mail(String sn) {
        return softwareDao.mail(sn);
    }

    @Override
    public int approval(String sn) {
        return softwareDao.bapproval(sn);
    }

    @Override
    public int unApproval(Integer id) {
        return softwareDao.unApproval(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return softwareDao.batchRemove(ids);
    }

    @Override
    public int preSubmit(String sn) {
        return softwareDao.preSubmit(sn);
    }

    ;

    @Override
    public int cancelSubmit(Integer id) {
        return softwareDao.cancelSubmit(id);
    }

    ;

    @Override
    public int batchSubmit(Integer[] ids) {
        return softwareDao.batchSubmit(ids);
    }

    ;

}
